﻿@{
    ViewBag.Title = "resetpassword";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section script{
 <link type="text/css" href="/content/css/style.css" rel="stylesheet" media="all" /> 
 <script src="/scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
 <script src="/scripts/library.js" type="text/javascript"></script>
 <script src="/scripts/plug.js" type="text/javascript"></script>
 <script type="text/javascript">
     $(function () {
         new plug.AValidator().BuildValidate('misspwdform');
     });
 </script>
}
<div class="content">
 <div class="content-left">
  <div class="content-close"><img src="/content/images/btn-img.jpg" /></div>
  <div class="content-img"><a href="info-1.html"><img src="/content/images/img-l.jpg" /></a></div>
 </div>
 <div class="content-right">
  <div class="content-img"><a href="info-1.html"><img src="/content/images/img-r.gif" /></a></div>
  <div class="content-close"><img src="/content/images/btn-img.jpg" /></div>
 </div>
 <div class="content-center">
  <div class="contents">
   <div class="contents-t">
    <div class="contents-tital">忘记密码</div>
    <div class="contents-info">如果您忘记了您的密码，请通过以下提示完成密码重置</div>
   </div>
   <div class="contents-c">
    <div class="step">
     <form id="misspwdform" action="/account/resetpassword" method="post">
        <input type="hidden" name="token" />
        @if (!String.IsNullOrEmpty(ViewBag.Error))
        {
        <div class="data">
            <div style="color:Red; width:180px; padding-left:65px;">@ViewBag.Error</div>
        </div>
        }
        <div class="data"><span>用户名：</span>@ViewBag.Username</div>
        <div class="data"><span>新密码：</span><input class="data-input" av="{x:':\\w{6,12}',t:'errormsg',m:'您的输入有误，请输入6-12位密码'}"  type="password" name="password" id="txtpassword" /><label>请输入您的新密码</label></div>
        <div class="data"><span>重新输入：</span><input class="data-input" av="{x:'=txtpassword',t:'errormsg',m:'两次输入不一致'}"  type="password" name="confirm" /><label>请重新输入您的新密码</label></div>
        <div style="color:Red; width:180px; padding-left:50px;" id="errormsg"></div>
        <div class="step-sub" style="float:left;"><input type="submit" value="提交" /></div>
        <div class="clear"></div>
       </form>
    </div>
    <div class="tj">
     <div class="tj-t"><span>推荐浏览</span></div>
     <div class="tj-c">
      <ul class="pics-list">
      <li><a href="#"><img src="/content/images/p-1.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-2.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-3.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-4.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-5.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-6.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
      <li><a href="#"><img src="/content/images/p-7.jpg" /></a><a href="#">28,北京海淀区</a><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /><img src="/content/images/heart.png" /></li>
     </ul>
      <div class="clear"></div>
     </div>
    </div>
   </div>
  </div>
  <div class="clear"></div>
 </div>
</div>
